*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*nav部分开始*/
nav{
    border-bottom: 1px solid #e7e7e7;
}
nav .navbar-brand{
    margin-left: 90px;
    margin-right: 30px;
}
.nav-item .nav-link{
    margin-right: 28px;
    color: #797a7a;
}
.form-control{
    margin-right: 4px;
    border: 1px solid #cacaca;
}
.btn{
    color: #000;
    margin-right: 118px;
    border: 1px solid #cacaca;
}
/*nav部分结束*/
/*轮播部分开始*/
.carousel slide{
    position: relative;
}
.text{
    position: absolute;
    color: #fff;
    top: 410px;
    left: 230px;
}
.text .text-p1{
    font-size: 35px;
}
.text .text-p2{
    font-size: 12px;
    line-height: 20px;
    width: 55%;
    padding-bottom: 10px;
}
.text a{
    color: #fff;
    font-size: 18px;
    background: #5bc0de;
    padding: 14px 18px;
    border-radius: 5px;
}
/*轮播部分结束*/
/*main部分开始*/
main{
    margin-top: 10px;
    width: 100%;
    background: url(../images/bain-2_01.png);
    background-repeat: no-repeat;
    background-size: 100%;
    padding-bottom: 20px;
}
main .container{
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px;
}
main .container .row{
    margin-bottom: 20px;
}
main .row .col-3{
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 5px;
    margin-left: 30px;
    max-width: 22%;
    padding: 4px 4px 23px 4px;
}
main .row .col-3 h3{
    font-size: 22px;
    padding-top: 25px;
    padding-left: 8px;
}
main .row .col-3 .col-3-p1{
    font-size: 13px;
    padding-left: 8px;
}
main .row .col-3 .button{
    font-size: 12px;
    padding-left: 8px;
}
main .row .col-3 .but-1{
    color: #fff;
    background: #347ab6;
    border: 1px solid #376a9f;
    border-radius: 5px;
    padding: 10px 13px;
}
main .row .col-3 .but-2{
    color: #000;
    background: #fff;
    border: 1px solid #cdcdcd;
    border-radius: 5px;
    padding: 10px 13px;
}
/*main部分结束*/
/*footer部分开始*/
footer{
    background: #fff;
    border: 1px solid #dee2e3;
    border-radius: 3px;
}
footer .row .col-5{
    flex: 0 0 50%;
    max-width: 50%;
    padding-top: 30px;
    padding-bottom: 20px;
    font-size: 13px;
}
.footer-p1{
    margin-bottom: 8px;
}
.footer-u1 li{
    list-style: none;
}
.footer-u1 li a{
    color: #3976a5;
}
/*footer部分结束*/






@media(max-width:600px){
    nav .navbar-brand{
        margin-left: 0;
    }
    .text{
        display: none;
    }
    main{
        height: 100%;
    }
    main .container .row{
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }
    main .row .col-3{
        flex: 0 0 100%;
        max-width: 86%;
        margin-bottom: 20px;
    }
    footer{
        flex: 0 0 100%;
        max-width: 100%;
    }
    footer .row .col-5{
        flex: 0 0 100%;
        max-width: 100%;
        padding-bottom: 0;
    }
}